#ifndef _BULLET_HPP_
#define _BULLET_HPP_

#include "SceneObject.hpp"
#include "siut\simd\Vec3f.hpp"
using siut::simd::Vec3f;

class Bullet : public SceneObject
{
	public:
	  Bullet();
	  ~Bullet();

	  bool isDead();
	  bool isAlive();
	  void setAlive();
	  void setDead();
	  void setDir(Vec3f d);

  protected:
    void privateInit();
	void privateRender();
	void privateUpdate();

  private:
	Vec3f dir;
	float speed_;
	float life_;
	//! record number of seconds bullet has existed, kill if old.
	double secondsLived_;
	
};

#endif //_BULLET_HPP_